package com.livesource.client.web.repositoryLogin;

import com.google.gwt.user.client.Cookies;

public class GetCookies {

	public static String getUsername(String projectID) {

		String username = Cookies.getCookie("repositoryUsername" + projectID);

		if (username == null) {

			new RepositoryLoginPopup(projectID);
		}
		return username;
	}

	public static String getPassword(String projectID) {

		String password = Cookies.getCookie("repositoryPassword" + projectID);

		return password;
	}

}
